package com.volcreate.guoqing.no2;

import java.util.Scanner;

/**
 * @author zxc
 * @date 2020/9/24
 */
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()){
            int n = scanner.nextInt();
            int begin = scanner.nextInt();
            int end = scanner.nextInt();
            StringBuilder stringBuilder = new StringBuilder();
            for (int i = 0; i < n; i++) {
                stringBuilder.append(i);
            }
            System.out.println(stringBuilder.toString().substring(begin, end));
        }
        scanner.close();
    }
}
